.layui-form-item .required {
    background-color: MistyRose;
}

.layui-form-item .required:after {
    content: ' *';
    color: red;
}

body {
    background-color: whitesmoke;
}
